package com.example.movie.common.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.movie.common.dao.CinemaDao
import com.example.movie.common.dao.UserDao
import com.example.movie.common.entity.Agent
import com.example.movie.common.entity.Order
import com.example.movie.common.entity.Plan
import com.example.movie.common.entity.User

@Database(entities = [User::class, Plan::class, Order::class, Agent::class], version = 1)
abstract class AppDatabase : RoomDatabase() {

    abstract fun userDao(): UserDao

    abstract fun cinemaDao(): CinemaDao

}
    